<div id="share_panel">
    
                                                    <div class="">
                                                        <?php echo form_open('user/changePassword'); ?>
                                                            <label>Mevcut Şifre</label>
                                                        <?php echo form_password(array('name' => 'current', 'class' => 'input_area'));?>
                                                        <br />

                                                           <label>Yeni Şifre</label>
                                                        <?php echo form_password(array('name' => 'passwrd', 'class' => 'input_area'));?>
                                                        <br />
                                                        
                                                        <label>Yeni Şifre Tekrar</label>
                                                        <?php echo form_password(array('name' => 'repasswrd', 'class' => 'input_area'));?>
                                                        <br />

                                                            

                                                            <div class="action_btns">

                                                               <div class="one_half"><input type="submit" name="submit" class="btn btn_red" value="Güncelle"/></div>

                                                                
                                                            </div>
                                                        <?php echo form_close(); ?>
                                                    </div>




                                                </div>
<?php 
            if(isset($errors)){
             echo '   <div id="share_clue">
        <div class="head_bg"></div>
            <p><?php echo validation_errors();?>'.$errors.'</p>
            
            
        </div>';
            }
            elseif (validation_errors())
                {
            echo '   <div id="share_clue">
        <div class="head_bg"></div>
            <p>'.validation_errors().'</p>
            
            
        </div>';
}?>
